package com.weichen.studentgameexchange.game.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
/**
 * <p>
 * 
 * </p>
 *
 * @author 惟尘
 * @since 2025-02-01
 */
@Getter
@Setter
@ToString
@TableName("sort")
@Schema(name = "Sort对象", description = "")
public class Sort implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 分类id，主键
     */
    @TableId("sort_id")
    @Schema(description = "分类id，主键")
    private Long sortId;

    /**
     * 分类名称
     */
    @TableField("sort_name")
    @Schema(description = "分类名称")
    private String sortName;

    /**
     * 分类描述
     */
    @Schema(description = "分类描述")
    @TableField("sort_describe")
    private String sortDescribe;

    /**
     * 分类图标
     */
    @TableField("sort_icon")
    @Schema(description = "分类图标")
    private String sortIcon;
}
